.class public abstract Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;
.super Ljava/lang/Object;
.source "DefaultRequestCallbackWrapper.java"

# interfaces
.implements Lcom/burstly/lib/network/request/IRequestCallback;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Lcom/burstly/lib/network/request/IRequestCallback",
        "<TT;>;"
    }
.end annotation


# instance fields
.field private final mOriginalCallback:Lcom/burstly/lib/network/request/IRequestCallback;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/burstly/lib/network/request/IRequestCallback",
            "<TT;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lcom/burstly/lib/network/request/IRequestCallback;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/burstly/lib/network/request/IRequestCallback",
            "<TT;>;)V"
        }
    .end annotation

    .prologue
    .line 36
    .local p0, this:Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;,"Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper<TT;>;"
    .local p1, originalCallback:Lcom/burstly/lib/network/request/IRequestCallback;,"Lcom/burstly/lib/network/request/IRequestCallback<TT;>;"
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 37
    iput-object p1, p0, Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;->mOriginalCallback:Lcom/burstly/lib/network/request/IRequestCallback;

    .line 38
    return-void
.end method


# virtual methods
.method public getOriginalCallback()Lcom/burstly/lib/network/request/IRequestCallback;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/burstly/lib/network/request/IRequestCallback",
            "<TT;>;"
        }
    .end annotation

    .prologue
    .line 76
    .local p0, this:Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;,"Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper<TT;>;"
    iget-object v0, p0, Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;->mOriginalCallback:Lcom/burstly/lib/network/request/IRequestCallback;

    return-object v0
.end method

.method public onFailInBackground(Ljava/lang/Object;)V
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .prologue
    .line 57
    .local p0, this:Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;,"Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper<TT;>;"
    .local p1, processResult:Ljava/lang/Object;,"TT;"
    iget-object v0, p0, Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;->mOriginalCallback:Lcom/burstly/lib/network/request/IRequestCallback;

    invoke-interface {v0, p1}, Lcom/burstly/lib/network/request/IRequestCallback;->onFailInBackground(Ljava/lang/Object;)V

    .line 58
    return-void
.end method

.method public onFailUi(Ljava/lang/Object;)V
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .prologue
    .line 42
    .local p0, this:Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;,"Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper<TT;>;"
    .local p1, param:Ljava/lang/Object;,"TT;"
    iget-object v0, p0, Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;->mOriginalCallback:Lcom/burstly/lib/network/request/IRequestCallback;

    invoke-interface {v0, p1}, Lcom/burstly/lib/network/request/IRequestCallback;->onFailUi(Ljava/lang/Object;)V

    .line 43
    return-void
.end method

.method public onNoConnection()V
    .locals 1

    .prologue
    .line 67
    .local p0, this:Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;,"Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper<TT;>;"
    iget-object v0, p0, Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;->mOriginalCallback:Lcom/burstly/lib/network/request/IRequestCallback;

    invoke-interface {v0}, Lcom/burstly/lib/network/request/IRequestCallback;->onNoConnection()V

    .line 68
    return-void
.end method

.method public onSuccessInBackground(Ljava/lang/Object;)V
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .prologue
    .line 62
    .local p0, this:Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;,"Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper<TT;>;"
    .local p1, processResult:Ljava/lang/Object;,"TT;"
    iget-object v0, p0, Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;->mOriginalCallback:Lcom/burstly/lib/network/request/IRequestCallback;

    invoke-interface {v0, p1}, Lcom/burstly/lib/network/request/IRequestCallback;->onSuccessInBackground(Ljava/lang/Object;)V

    .line 63
    return-void
.end method

.method public onSuccessUi(Ljava/lang/Object;)V
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .prologue
    .line 47
    .local p0, this:Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;,"Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper<TT;>;"
    .local p1, param:Ljava/lang/Object;,"TT;"
    iget-object v0, p0, Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;->mOriginalCallback:Lcom/burstly/lib/network/request/IRequestCallback;

    invoke-interface {v0, p1}, Lcom/burstly/lib/network/request/IRequestCallback;->onSuccessUi(Ljava/lang/Object;)V

    .line 48
    return-void
.end method

.method public preExecute()V
    .locals 1

    .prologue
    .line 52
    .local p0, this:Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;,"Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper<TT;>;"
    iget-object v0, p0, Lcom/burstly/lib/network/request/DefaultRequestCallbackWrapper;->mOriginalCallback:Lcom/burstly/lib/network/request/IRequestCallback;

    invoke-interface {v0}, Lcom/burstly/lib/network/request/IRequestCallback;->preExecute()V

    .line 53
    return-void
.end method
